package com.example.demomk.entity;

public class AllCount {
    public int id;
    public int user_id;       // 改为 user_id（匹配 SQL 列名）
    public int location_id;   // 改为 location_id（匹配 SQL 列名）
    public String start_time; // 改为 start_time（匹配 SQL 列名）
    public String user_name;  // 匹配 u.name AS user_name
    public String location_name; // 匹配 l.location_name AS location_name
    public String group_name; // 匹配 l.group_name AS location_group
    public double flow;
    public String value_05;
    public String value_10;
    public String value_20;
    public String value_30;
    public String notes;

    public AllCount(int user_id, int location_id, String start_time, String user_name, String location_name, String group_name, double flow, String value_05, String value_10, String value_20, String value_30, String notes) {
        this.user_id = user_id;
        this.location_id = location_id;
        this.start_time = start_time;
        this.user_name = user_name;
        this.location_name = location_name;
        this.group_name = group_name;
        this.flow = flow;
        this.value_05 = value_05;
        this.value_10 = value_10;
        this.value_20 = value_20;
        this.value_30 = value_30;
        this.notes = notes;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getLocation_id() {
        return location_id;
    }

    public void setLocation_id(int location_id) {
        this.location_id = location_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getLocation_name() {
        return location_name;
    }

    public void setLocation_name(String location_name) {
        this.location_name = location_name;
    }

    public String getGroup_name() {
        return group_name;
    }

    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }

    public double getFlow() {
        return flow;
    }

    public void setFlow(double flow) {
        this.flow = flow;
    }

    public String getValue_05() {
        return value_05;
    }

    public void setValue_05(String value_05) {
        this.value_05 = value_05;
    }

    public String getValue_10() {
        return value_10;
    }

    public void setValue_10(String value_10) {
        this.value_10 = value_10;
    }

    public String getValue_20() {
        return value_20;
    }

    public void setValue_20(String value_20) {
        this.value_20 = value_20;
    }

    public String getValue_30() {
        return value_30;
    }

    public void setValue_30(String value_30) {
        this.value_30 = value_30;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }
}
